package Zuoyi;

public class FruitTest02 {
    public static void main(String[] args) {
        Banana banana = new Banana();
        banana.name();
        banana.area();
        banana.price();
        System.out.println("");

        Longan longan = new  Longan();
        longan .name();
        longan.area();
        longan.price();
        System.out.println("");

        Lychee lychee = new Lychee ();
        lychee.name();
        lychee.area();
        lychee.price();
        System.out.println("");
    }
}
